/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "骑行用户地址表",TableName = "customer_addr")]
    [Table("customer_addr")]
    public partial class CustomerAddr:BaseEntity
    {
        /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? create_time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="customer_user_id")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long customer_user_id { get; set; }

       /// <summary>
       ///电话
       /// </summary>
       [Display(Name ="电话")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string telephone { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? modified_time { get; set; }

       /// <summary>
       ///自增主键ID
       /// </summary>
       [Key]
       [Display(Name ="自增主键ID")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long customer_addr_id { get; set; }

       /// <summary>
       ///邮编
       /// </summary>
       [Display(Name ="邮编")]
       [MaxLength(256)]
       [Column(TypeName="nvarchar(256)")]
       public string zip { get; set; }

       /// <summary>
       ///省份
       /// </summary>
       [Display(Name ="省份")]
       [MaxLength(256)]
       [Column(TypeName="nvarchar(256)")]
       public string province { get; set; }

       /// <summary>
       ///市
       /// </summary>
       [Display(Name ="市")]
       [MaxLength(256)]
       [Column(TypeName="nvarchar(256)")]
       public string city { get; set; }

       /// <summary>
       ///区
       /// </summary>
       [Display(Name ="区")]
       [MaxLength(256)]
       [Column(TypeName="nvarchar(256)")]
       public string district { get; set; }

       /// <summary>
       ///具体的地址门牌号
       /// </summary>
       [Display(Name ="具体的地址门牌号")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       public string address { get; set; }

       /// <summary>
       ///是否默认1 是；0否
       /// </summary>
       [Display(Name ="是否默认1 是；0否")]
       [Column(TypeName="sbyte")]
       [Required(AllowEmptyStrings=false)]
       public sbyte is_default { get; set; }

       /// <summary>
       ///收货人姓名
       /// </summary>
       [Display(Name ="收货人姓名")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string username { get; set; }

       
    }
}